package main

import (
	"fmt"
	"go-arch/network/chatroom/client"
	"go-arch/network/chatroom/util"
)

func main() {
	userId := util.RandomId() % 9527
	simpleClient, err := client.NewSimpleClient(fmt.Sprintf("c%d", userId), ":9099", int32(userId))
	if err != nil {
		panic(err)
	}
	fmt.Println(simpleClient.Name())
}
